package cn.com.oidreams.test;

import cn.com.oidreams.aliyun.robot.enums.DingTalkEnum;
import cn.com.oidreams.common.annotations.EnumAnnotation;
import lombok.AllArgsConstructor;
import lombok.Data;

/***
 ** @category 业务环节与模板类别
 ** @author qing.yunhui
 ** @email: qingyh@glodon.com
 ** @createTime: 2022-03-08 11:04
 **/
@AllArgsConstructor
@Data
public class TemplateCategoryExtendPO {
    /**
     * <p>业务环节id</p>
     * */
    private String linkId;
    /**
     * <p>业务环节名称</p>
     * */
    private String linkName;
    /**
     * <p>模板类别id</p>
     * */
    private String categoryId;
    /**
     * <p>模板类别名称</p>
     * */
    private String categoryName;

    @EnumAnnotation(clz = DingTalkEnum.MSG_TYPE.class)
    private String msgType;

    public TemplateCategoryExtendPO(){super();}
    public TemplateCategoryExtendPO(String linkId, String linkName, String msgType) {
        this.linkId = linkId;
        this.linkName = linkName;
        this.msgType = msgType;
    }
}
